/* queue.js */
class Queue {
  queue = []
  index = 0

  constructor() {
    return this
  }

  add(obj) {
    this.queue.push(obj)
  }

  pop() {
    this.queue.pop()
  }

  count() {
    return this.queue.length
  }

  current() {
  }

  front() {
  }

  next() {
  }
}

module.exports = Queue
